From d96a8599290226dc0fa49bc1aa71f73015593051 Mon Sep 17 00:00:00 2001 From: "emellor@leeni.uk.xensource.com" Date: Wed, 7 Dec 2005 16:26:07 +0000 Subject: [PATCH] Don't try and print out the info returned by the server after a restore -- there isn't any. Don't try and unpause the restored domain either -- XendCheckpoint does that. Signed-off-by: Ewan Mellor --- tools/python/xen/xm/main.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tools/python/xen/xm/main.py b/tools/python/xen/xm/main.py index 106a3fd4ad..4b173e88c4 100644 --- a/tools/python/xen/xm/main.py +++ b/tools/python/xen/xm/main.py @@ -321,11 +321,7 @@ def xm_restore(args): sys.exit(1) from xen.xend.XendClient import server - info = server.xend_domain_restore(savefile) - PrettyPrint.prettyprint(info) - id = sxp.child_value(info, 'domid') - if id is not None: - server.xend_domain_unpause(domid) + server.xend_domain_restore(savefile) def getDomains(domain_names): -- 2.30.2